package org.glut.cloud.video.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;

import java.io.Serializable;

/**
 * 收藏夹视频关联表
 *
 * @author stubborn
 * @since 2024-08-12 10:13
 */
@Data
@NoArgsConstructor
@TableName("favorites_video")
@EqualsAndHashCode(callSuper = false)
public class FavoritesVideo implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 收藏夹ID，关联到收藏夹表
     */
    private Long favoritesId;

    /**
     * 视频ID，关联到视频表
     */
    private Long videoId;

    /**
     * 用户ID，关联到用户表
     */
    private Long userId;
}
